From 8324270f81d1aac7aeb2bf6110affc5f910f0029 Mon Sep 17 00:00:00 2001 From: Ceph Maintainers Date: Fri, 5 Apr 2019 14:12:52 +0100 Subject: [PATCH] softfp-armel Gbp-Pq: Name softfp-armel.patch --- cmake/modules/SIMDExt.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/modules/SIMDExt.cmake b/cmake/modules/SIMDExt.cmake index 5330835aa..f1d67856d 100644 --- a/cmake/modules/SIMDExt.cmake +++ b/cmake/modules/SIMDExt.cmake @@ -71,6 +71,9 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm|ARM") CHECK_C_COMPILER_FLAG(-mfpu=neon HAVE_ARM_NEON) if(HAVE_ARM_NEON) set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -mfpu=neon") + if(CMAKE_LIBRARY_ARCHITECTURE STREQUAL "arm-linux-gnueabi") + set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -mfloat-abi=softfp") + endif() endif() elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64") -- 2.30.2